package com.pray.protocol;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * RpcRequest
 *
 * @author 春江花朝秋月夜
 * @since 2024/1/8 20:15
 */
@Data
@Builder
@AllArgsConstructor
public class RpcRequest implements Serializable {
    //grpc协议头
    private String header;
    //协议体
    private byte[] body;
}
